Looping nested arrays get the sum in JavaScript

welcome to shbcf.ru